; Music of Space Harrier 2 (1988) (Sega)
; Ripped by Megachur the 03/01/2009

	write "SPACEHA2.BIN"

music_date_rip	equ &0319
music_adr	equ &c000
first_theme	equ 0	; 0 -> 4 (5 - > 9 sound fx)
last_theme	equ 4

	read "music_header_v1_0.asm"

	jp lc08e
	jp lc116
	jp lc011
.lc009
	db #00
	xor a
	ld (lc009),a
	jp lc3eb
.lc011
	ld l,a
	ld e,a
	ld h,#00
	ld d,h
	add hl,hl
	add hl,de
	add hl,hl
	add hl,hl
	add hl,de
	ld iy,lcd09
	ex de,hl
	add iy,de
	ld l,(iy+#0a)
	ld h,(iy+#0b)
	ld c,(iy+#0c)
	ld ix,lc331
	call lc367
	set 7,(ix+#11)
	ret
.lc03e equ $ + 7
.lc038 equ $ + 1
.lc037
	db #00,#00,#00,#00,#00,#00,#00,#00
.lc046 equ $ + 7
.lc044 equ $ + 5
.lc043 equ $ + 4
.lc042 equ $ + 3
.lc041 equ $ + 2
.lc040 equ $ + 1
	db #00,#00,#00,#00,#00,#00,#00,#00
.lc04d equ $ + 6
.lc04c equ $ + 5
	db #00,#00,#00,#00,#00,#08,#00,#00
.lc056 equ $ + 7
.lc055 equ $ + 6
.lc053 equ $ + 4
	db #00,#00,#00,#00,#00,#00,#00,#00
.lc05b equ $ + 4
.lc059 equ $ + 2
.lc058 equ $ + 1
.lc057
	db #00,#00,#00,#00,#00,#00,#00,#00
.lc062 equ $ + 3
.lc061 equ $ + 2
	db #00,#00,#10,#00,#00,#00,#00,#00
.lc06e equ $ + 7
.lc06d equ $ + 6
.lc06c equ $ + 5
.lc06b equ $ + 4
.lc06a equ $ + 3
.lc068 equ $ + 1
	db #00,#00,#00,#00,#00,#00,#00,#00
.lc076 equ $ + 7
.lc070 equ $ + 1
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00
;
.init_music
.lc08e
;
	push af
	call lc3eb
	pop af
	ld l,a
	add a
	add l
	add a
	ld hl,lc9ef
	add l
	ld l,a
	jr nc,lc09f
	inc h
.lc09f
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (lc038),de
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (lc04d),de
	ld e,(hl)
	inc hl
	ld d,(hl)
	inc hl
	ld (lc062),de
	xor a
	ld (lc041),a
	ld (lc056),a
	ld (lc06b),a
	ld (lc046),a
	ld (lc05b),a
	ld (lc070),a
	cpl
	ld (lc042),a
	ld (lc057),a
	ld (lc06c),a
	ld a,#01
	ld (lc040),a
	ld (lc055),a
	ld (lc06a),a
	ld (lc043),a
	ld (lc058),a
	ld (lc06d),a
	ld hl,lc076
	ld bc,#030a
.lc0ee
	xor a
.lc0ef
	ld (hl),a
	inc hl
	add c
	ld (hl),a
	inc hl
	add c
	cp #50
	jr nz,lc0ef
	djnz lc0ee
	ld hl,lcc65
	ld (lc03e),hl
	ld (lc053),hl
	ld (lc068),hl
	ld a,#ff
	ld (lc044),a
	ld (lc059),a
	ld (lc06e),a
	ld (lc009),a
	ret
;
.play_music
.lc116
;
	call lc423
	ld a,(lc009)
	and a
	ret z
	ld a,(lc044)
	or a
	jr z,lc12e
	ld a,(lc059)
	or a
	jr z,lc12e
	ld a,(lc06e)
	or a
.lc12e
	ld (lc009),a
	jr nz,lc141
	ld a,(lc330)
	and #3f
	cp #3f
	ret z
	ld a,#01
	ld (lc009),a
	ret
.lc141
	ld iy,lc037
	ld ix,lc331
	call lc15f
	ld iy,lc04c
	ld ix,lc343
	call lc15f
	ld iy,lc061
	ld ix,lc355
.lc15f
	call lc2a0
	ld a,(iy+#0b)
	and a
	jr z,lc1e4
.lc168
	dec (iy+#09)
	jr z,lc17f
	ld a,(iy+#03)
	ld (iy+#05),a
	ld a,(iy+#04)
	ld (iy+#06),a
	ld (iy+#0b),#00
	jr lc1e4
.lc17f
	ld (iy+#09),#01
	ld l,(iy+#01)
	ld h,(iy+#02)
.lc189
	ld a,(hl)
	cp #80
	jr c,lc1c4
	cp #fe
	jr nz,lc19b
	inc hl
	ld a,(hl)
	ld (iy+#0a),a
	inc hl
	jp lc189
.lc19b
	cp #ff
	jr nz,lc1a4
	xor a
	ld (iy+#0d),a
	ret
.lc1a4
	cp #c0
	jr nc,lc1b1
	and #1f
	ld (iy+#09),a
	inc hl
	jp lc189
.lc1b1
	and #07
	add (iy+#00)
	ld de,lc076
	add e
	ld e,a
	jr nc,lc1be
	inc d
.lc1be
	inc hl
	ldi
	jp lc189
.lc1c4
	ld (iy+#0b),#00
	inc hl
	ld (iy+#01),l
	ld (iy+#02),h
	ld c,a
	ld b,#00
	ld hl,lc9a9
	add hl,bc
	ld e,(hl)
	ld hl,lc9cc
	add hl,bc
	ld d,(hl)
	ld (iy+#03),e
	ld (iy+#04),d
	jr lc1ea
.lc1e4
	ld e,(iy+#05)
	ld d,(iy+#06)
.lc1ea
	dec (iy+#0c)
	jr z,lc1fc
	ld a,(de)
	cp #80
	call nc,lc266
	ld (iy+#05),e
	ld (iy+#06),d
	ret
.lc1fc
	ld a,(de)
	cp #80
	jr c,lc20d
	call lc266
	ld a,(iy+#0b)
	and a
	jr z,lc1fc
	jp lc168
.lc20d
	cp #7f
	jr z,lc259
	cp #7e
	jr nz,lc21e
	inc de
	ld a,(de)
	ld l,a
	inc de
	ld a,(de)
	ld h,a
	jp lc232
.lc21e
	add (iy+#0a)
	add #0c
	ld (iy+#0e),a
	ld hl,lcd3d
	add a
	ld c,a
	ld b,#00
	add hl,bc
	ld a,(hl)
	inc hl
	ld h,(hl)
	ld l,a
.lc232
	ld a,(iy+#0f)
	or #c0
	ld (iy+#14),a
	inc de
	ld a,(de)
	inc de
	ld (iy+#0c),a
	ld c,a
	ld (iy+#05),e
	ld (iy+#06),d
	ld e,(iy+#07)
	ld a,(iy+#08)
	ld hy,a
	ld ly,e
	bit 7,(ix+#11)
	ret nz
	jp lc367
.lc259
	inc de
	ld a,(de)
	inc de
	ld (iy+#0c),a
	ld (iy+#05),e
	ld (iy+#06),d
	ret
.lc266
	ld a,(de)
	cp #88
	jr nc,lc284
	and #07
	add (iy+#00)
	ld c,a
	ld b,#00
	ld hl,lc076
	add hl,bc
	ld c,(hl)
	ld hl,lcc65
	add hl,bc
	ld (iy+#07),l
	ld (iy+#08),h
	inc de
	ret
.lc284
	cp #ff
	jr nz,lc28d
	ld (iy+#0b),#ff
	ret
.lc28d
	cp #c0
	jr nc,lc298
	and #0f
	ld (iy+#0f),a
	inc de
	ret
.lc298
	inc de
	cp #c2
	ret z
	inc de
	inc de
	inc de
	ret
.lc2a0
	bit 7,(ix+#11)
	ret nz
	ld a,(iy+#14)
	bit 7,a
	ret z
	and #3f
	jr nz,lc2b4
	res 7,(iy+#14)
	ret
.lc2b4
	ld d,#07
	bit 6,(iy+#14)
	jr nz,lc2e8
	dec (iy+#12)
	ret nz
	dec (iy+#13)
	jp z,lc2e8
	ld l,(iy+#10)
	ld h,(iy+#11)
	inc l
	ld (iy+#10),l
	jp nz,lc2d7
	inc h
	ld (iy+#11),h
.lc2d7
	ld a,(hl)
	and d
	ld (iy+#12),a
	ld a,(hl)
	rrca
	rrca
	rrca
	and #1f
	add (iy+#0e)
	jp lc31d
.lc2e8
	ld hl,lc5c1
	ld a,(iy+#14)
	add a
	add a
	add a
	ld e,a
	add hl,de
	bit 7,(hl)
	jr nz,lc302
	bit 6,(iy+#14)
	jr nz,lc302
	ld (iy+#13),#01
	ret
.lc302
	res 6,(iy+#14)
	ld a,(hl)
	rrca
	rrca
	rrca
	and d
	ld (iy+#12),a
	ld a,(hl)
	and d
	inc a
	ld (iy+#13),a
	ld (iy+#10),l
	ld (iy+#11),h
	ld a,(iy+#0e)
.lc31d
	add a
	ld hl,lcd3d
	add l
	ld l,a
	jr nc,lc326
	inc h
.lc326
	ld a,(hl)
	ld (ix+#03),a
	inc hl
	ld a,(hl)
	ld (ix+#04),a
	ret
.lc336 equ $ + 6
.lc335 equ $ + 5
.lc334 equ $ + 4
.lc331 equ $ + 1
.lc330
	db #bf,#fe,#f7,#09,#00,#00,#00,#00
	db #00,#00,#00,#00,#00,#00,#00,#00
.lc347 equ $ + 7
.lc346 equ $ + 6
.lc343 equ $ + 3
.lc342 equ $ + 2
	db #00,#00,#00,#fd,#ef,#12,#00,#00
.lc348
	db #00,#00,#00,#00,#00,#00,#00,#00
.lc355 equ $ + 5
.lc354 equ $ + 4
	db #00,#00,#00,#00,#00,#fb,#df,#24
.lc35a equ $ + 2
.lc359 equ $ + 1
.lc358
	db #00,#00,#00,#00,#00,#00,#00,#00
.lc366 equ $ + 6
	db #00,#00,#00,#00,#00,#00,#00
.lc367
	ld a,ly
	ld (ix+#0f),a
	ld a,hy
	ld (ix+#10),a
	ld (ix+#03),l
	ld (ix+#04),h
	ld (ix+#06),c
	ld a,(iy+#05)
	ld (ix+#07),a
	ld a,(iy+#06)
	and #7f
	srl a
	jr nz,lc38b
	ld a,#01
.lc38b
	ld (ix+#08),a
	ld a,(iy+#07)
	ld (ix+#0b),a
	ld a,(iy+#08)
	ld (ix+#0c),a
	xor a
	ld (ix+#09),a
	ld (ix+#0a),a
	ld a,(lc330)
	or (ix+#02)
	ld c,(iy+#09)
	ld (ix+#11),c
	bit 0,c
	jr z,lc3b4
	and (ix+#00)
.lc3b4
	bit 1,c
	jr z,lc3bb
	and (ix+#01)
.lc3bb
	ld (lc330),a
	bit 2,c
	jr nz,lc3cc
	ld hl,lc519
	ld (ix+#0d),l
	ld (ix+#0e),h
	ret
.lc3cc
	ld hl,#ffbf
	ld c,#fd
	ld a,(iy+#00)
	ld e,#0d
	call lc5d1
	ld a,(iy+#04)
	ld e,#0b
	call lc5d1
	inc e
	xor a
	call lc5d1
	ld (ix+#05),#ff
	ret
.lc3eb
	ld c,#fd
	ld hl,#ffbf
	ld e,#07
	ld a,(lc330)
	or #3f
	ld (lc330),a
	call lc5d1
	xor a
	inc e
	call lc5d1
	inc e
	call lc5d1
	inc e
	call lc5d1
	ld a,#01
	inc e
	call lc5d1
	inc e
	xor a
	call lc5d1
	inc e
	call lc5d1
	ld (lc342),a
	ld (lc354),a
	ld (lc366),a
	ret
.lc423
	ld a,(lc330)
	and #3f
	cp #3f
	ret z
	ld ix,lc331
	call lc4e7
	ld ix,lc343
	call lc4e7
	ld ix,lc355
	call lc4e7
	ld ix,lc331
	ld hl,#ffbf
	ld c,#fd
	ld e,#07
	ld a,(lc330)
	call lc5d1
	ld e,#00
	ld a,(lc334)
	add (ix+#09)
	bit 1,(ix+#11)
	jp z,lc461
	ld d,a
.lc461
	call lc5d1
	inc e
	ld a,(lc335)
	adc (ix+#0a)
	call lc5d1
	inc e
	ld a,(lc346)
	add (ix+#1b)
	bit 1,(ix+#23)
	jp z,lc47d
	ld d,a
.lc47d
	call lc5d1
	inc e
	ld a,(lc347)
	adc (ix+#1c)
	call lc5d1
	inc e
	ld a,(lc358)
	add (ix+#2d)
	bit 1,(ix+#35)
	jp z,lc499
	ld d,a
.lc499
	call lc5d1
	inc e
	ld a,(lc359)
	adc (ix+#2e)
	call lc5d1
	inc e
	ld a,d
	rrca
	rrca
	rrca
	call lc5d1
	ld e,#08
	ld a,(lc4e6)
	ld d,a
	ld a,(lc336)
	cp d
	jr c,lc4bb
	ld a,d
.lc4bb
	srl a
	srl a
	srl a
	call lc5d1
	inc e
	ld a,(lc348)
	cp d
	jr c,lc4cc
	ld a,d
.lc4cc
	srl a
	srl a
	srl a
	call lc5d1
	inc e
	ld a,(lc35a)
	cp d
	jr c,lc4dd
	ld a,d
.lc4dd
	srl a
	srl a
	srl a
	jp lc5d1
.lc4e6
	ld a,a
.lc4e7
	ld a,(lc330)
	and (ix+#02)
	cp (ix+#02)
	ret z
	ld a,(ix+#0f)
	ld ly,a
	ld a,(ix+#10)
	ld hy,a
	ld a,(ix+#06)
	and a
	jr z,lc508
	cp #ff
	jr z,lc508
	dec (ix+#06)
.lc508
	call lc58f
	bit 2,(iy+#09)
	jp nz,lc588
	ld l,(ix+#0d)
	ld h,(ix+#0e)
	jp (hl)
.lc519
	ld a,(ix+#05)
	add (iy+#00)
	cp (iy+#04)
	jr nc,lc528
	ld (ix+#05),a
	ret
.lc528
	ld a,(iy+#04)
	ld (ix+#05),a
	ld hl,lc538
	ld (ix+#0d),l
	ld (ix+#0e),h
	ret
.lc538
	ld a,(ix+#05)
	add (iy+#01)
	jp m,lc54a
	cp (iy+#02)
	jr c,lc54a
	ld (ix+#05),a
	ret
.lc54a
	ld a,(iy+#02)
	ld (ix+#05),a
	ld hl,lc55a
	ld (ix+#0d),l
	ld (ix+#0e),h
	ret
.lc55a
	ld a,(ix+#06)
	and a
	ret nz
	ld hl,lc569
	ld (ix+#0d),l
	ld (ix+#0e),h
	ret
.lc569
	ld a,(ix+#05)
	add (iy+#03)
	jp m,lc576
	ld (ix+#05),a
	ret
.lc576
	ld (ix+#05),#00
	ld a,(lc330)
	or (ix+#02)
	ld (lc330),a
	res 7,(ix+#11)
	ret
.lc588
	ld a,(ix+#06)
	and a
	ret nz
	jr lc576
.lc58f
	ld a,(ix+#07)
	and a
	jr z,lc59c
	cp #ff
	ret z
	dec (ix+#07)
	ret nz
.lc59c
	ld l,(ix+#09)
	ld h,(ix+#0a)
	ld c,(ix+#0b)
	ld b,(ix+#0c)
	add hl,bc
	ld (ix+#09),l
	ld (ix+#0a),h
	dec (ix+#08)
	ret nz
	ld a,(iy+#06)
	and a
	ret z
	jp p,lc5c0
	ld (ix+#07),#ff
	ret
.lc5c1 equ $ + 1
.lc5c0
	ld (ix+#08),a
	ld a,c
	cpl
	ld c,a
	ld a,b
	cpl
	ld b,a
	inc bc
	ld (ix+#0b),c
	ld (ix+#0c),b
	ret
.lc5d1
	ld d,#c0
	ld c,#00
	ld l,#80
	ld b,#f4
	out (c),e
	ld b,#f6
	out (c),d
	out (c),c
	ld b,#f4
	out (c),a
	ld b,#f6
	out (c),l
	out (c),c
	ret
	db #80,#0a,#0a,#0a,#05,#0a,#05,#81
	db #1d,#0a,#80,#0a,#05,#0a,#05,#0a
	db #0a,#0a,#05,#0a,#05,#81,#1d,#0a
	db #80,#0a,#05,#0a,#05,#ff,#80,#0d
	db #0a,#0d,#05,#0d,#05,#81,#1d,#0a
	db #80,#0d,#05,#0d,#05,#0d,#0a,#0d
	db #05,#0d,#05,#81,#1d,#0a,#80,#0d
	db #05,#0d,#05,#ff,#85,#29,#1e,#22
	db #05,#26,#05,#22,#5a,#29,#0a,#2b
	db #14,#2c,#1e,#2b,#1e,#29,#64,#ff
	db #82,#29,#05,#22,#05,#26,#05,#22
	db #05,#29,#05,#22,#05,#26,#05,#22
	db #05,#ff,#82,#2c,#05,#25,#05,#29
	db #05,#25,#05,#2c,#05,#25,#05,#29
	db #05,#25,#05,#ff,#80,#08,#0a,#08
	db #05,#08,#05,#81,#1d,#0a,#80,#08
	db #05,#08,#05,#08,#0a,#08,#05,#08
	db #05,#81,#1d,#0a,#80,#08,#05,#08
	db #05,#ff,#80,#0f,#0a,#0f,#05,#0f
	db #05,#81,#1d,#0a,#80,#0f,#05,#0f
	db #05,#0f,#0a,#0f,#05,#0f,#05,#81
	db #1d,#0a,#80,#0f,#05,#0f,#05,#ff
	db #85,#30,#1e,#2c,#0a,#2c,#5a,#30
	db #0a,#32,#14,#33,#1e,#2e,#0a,#2e
	db #1e,#2b,#0a,#2b,#50,#ff,#82,#33
	db #05,#2c,#05,#30,#05,#2c,#05,#33
	db #05,#2c,#05,#30,#05,#2c,#05,#ff
	db #82,#2b,#05,#22,#05,#27,#05,#22
	db #05,#2b,#05,#22,#05,#27,#05,#22
	db #05,#ff,#7f,#a0,#ff,#85,#30,#64
	db #30,#14,#32,#14,#30,#14,#2e,#3c
	db #2e,#0a,#2c,#0a,#2b,#50,#ff,#85
	db #2c,#64,#2c,#14,#2e,#14,#2c,#14
	db #2b,#3c,#2b,#0a,#29,#0a,#27,#50
	db #ff,#80,#11,#0a,#11,#05,#11,#05
	db #81,#1d,#0a,#80,#11,#05,#11,#05
	db #11,#0a,#11,#05,#11,#05,#81,#1d
	db #0a,#80,#11,#05,#11,#05,#ff,#85
	db #2d,#1e,#2b,#0a,#29,#3c,#33,#14
	db #32,#14,#30,#14,#2e,#28,#30,#28
	db #2e,#14,#2c,#14,#29,#14,#26,#14
	db #ff,#85,#29,#1e,#28,#0a,#24,#78
	db #26,#28,#27,#28,#26,#50,#ff,#80
	db #0b,#0a,#0b,#05,#0b,#05,#81,#1d
	db #0a,#80,#0b,#05,#0b,#05,#0b,#0a
	db #0b,#05,#0b,#05,#81,#1d,#0a,#80
	db #0b,#05,#0b,#05,#ff,#80,#09,#0a
	db #09,#05,#09,#05,#81,#1d,#0a,#80
	db #09,#05,#09,#05,#09,#0a,#09,#05
	db #09,#05,#81,#1d,#0a,#80,#09,#05
	db #09,#05,#ff,#80,#06,#0a,#06,#05
	db #06,#05,#81,#1d,#0a,#80,#06,#05
	db #06,#05,#06,#0a,#06,#05,#06,#05
	db #81,#1d,#0a,#80,#06,#05,#06,#05
	db #ff,#80,#0e,#0a,#0e,#05,#0e,#05
	db #81,#1d,#0a,#80,#0e,#05,#0e,#05
	db #12,#0a,#12,#05,#12,#05,#81,#1d
	db #0a,#80,#12,#05,#12,#05,#ff,#85
	db #1e,#05,#23,#05,#28,#0a,#27,#0a
	db #23,#05,#1e,#0a,#28,#05,#27,#0a
	db #23,#0a,#1e,#0a,#25,#14,#21,#0a
	db #1c,#32,#1e,#05,#25,#05,#23,#0a
	db #22,#0a,#1e,#05,#19,#0a,#25,#05
	db #23,#0a,#22,#0a,#1e,#0a,#1a,#14
	db #1c,#0a,#1e,#32,#ff,#85,#2f,#32
	db #2f,#0a,#2d,#14,#2f,#1e,#2a,#1e
	db #28,#14,#2a,#32,#2a,#0a,#2a,#0a
	db #2c,#0a,#2d,#0a,#2a,#0a,#28,#0a
	db #2a,#32,#2f,#0a,#2d,#0a,#2f,#0a
	db #2a,#14,#2f,#0a,#31,#14,#32,#1e
	db #31,#1e,#2f,#14,#2a,#32,#2a,#0a
	db #2a,#0a,#2c,#0a,#2d,#0a,#2a,#0a
	db #28,#0a,#2a,#28,#7f,#0a,#ff,#86
	db #0f,#c0,#0d,#c0,#0b,#c0,#0d,#c0
	db #ff,#86,#27,#30,#27,#30,#29,#30
	db #2c,#30,#29,#12,#29,#42,#20,#3c
	db #22,#48,#23,#30,#2a,#30,#2c,#54
	db #29,#18,#29,#18,#20,#18,#20,#6c
	db #ff,#86,#7f,#18,#22,#30,#2a,#30
	db #2a,#30,#2a,#24,#2a,#0c,#25,#48
	db #20,#90,#27,#30,#2e,#48,#2a,#18
	db #2c,#18,#25,#18,#25,#18,#1e,#18
	db #1d,#60,#ff,#86,#7f,#14,#2a,#1e
	db #2c,#32,#2e,#14,#2c,#0a,#2a,#0a
	db #2c,#14,#27,#50,#2a,#14,#29,#14
	db #27,#0a,#29,#32,#31,#28,#2f,#14
	db #2e,#0a,#2f,#14,#31,#14,#2f,#0a
	db #2e,#0a,#2c,#0a,#2a,#50,#2c,#0a
	db #2e,#0a,#2f,#14,#2e,#14,#2c,#14
	db #2a,#50,#2e,#50,#31,#50,#7f,#50
	db #ff,#85,#7f,#14,#2a,#1e,#2c,#32
	db #2e,#14,#2c,#0a,#2a,#0a,#2c,#14
	db #27,#50,#2a,#14,#29,#14,#27,#0a
	db #29,#32,#31,#28,#2f,#14,#2e,#0a
	db #2f,#14,#31,#14,#2f,#0a,#2e,#0a
	db #2c,#0a,#2a,#50,#2c,#0a,#2e,#0a
	db #2f,#14,#2e,#14,#2c,#14,#2a,#50
	db #2e,#50,#31,#50,#7f,#50,#ff,#86
	db #11,#14,#16,#0a,#14,#0a,#16,#14
	db #19,#0a,#18,#0a,#19,#14,#1b,#14
	db #19,#14,#18,#0a,#16,#14,#16,#14
	db #16,#14,#16,#14,#18,#0a,#19,#14
	db #18,#0a,#16,#32,#0f,#14,#14,#0a
	db #12,#0a,#14,#14,#16,#0a,#14,#0a
	db #16,#14,#17,#0a,#16,#0a,#17,#14
	db #16,#0a,#17,#14,#1b,#3c,#19,#05
	db #17,#05,#16,#3c,#19,#14,#ff,#85
	db #7f,#05,#11,#14,#16,#0a,#14,#0a
	db #16,#14,#19,#0a,#18,#0a,#19,#14
	db #1b,#14,#19,#14,#18,#0a,#16,#14
	db #16,#14,#16,#14,#16,#14,#18,#0a
	db #19,#14,#18,#0a,#16,#32,#0f,#14
	db #14,#0a,#12,#0a,#14,#14,#16,#0a
	db #14,#0a,#16,#14,#17,#0a,#16,#0a
	db #17,#14,#16,#0a,#17,#14,#1b,#3c
	db #19,#05,#17,#05,#16,#3c,#19,#0f
	db #ff,#84,#1e,#05,#ff,#83,#1e,#05
	db #ff,#80,#12,#05,#ff,#82,#2a,#02
	db #27,#02,#23,#02,#ff,#85,#1e,#1e
.lc9a9 equ $ + 5
	db #ff,#86,#1e,#1e,#ff,#ec,#0a,#28
	db #3c,#4e,#60,#7e,#9c,#b2,#c4,#d6
	db #d9,#eb,#fd,#1b,#35,#43,#61,#7f
	db #9d,#bb,#f1,#33,#3d,#5d,#7f,#bd
	db #fb,#43,#8d,#91,#95,#99,#a1,#a5
.lc9cc
	db #c5,#c6,#c6,#c6,#c6,#c6,#c6,#c6
	db #c6,#c6,#c6,#c6,#c6,#c6,#c7,#c7
	db #c7,#c7,#c7,#c7,#c7,#c7,#c8,#c8
	db #c8,#c8,#c8,#c8,#c9,#c9,#c9,#c9
	db #c9,#c9,#c9
.lc9ef
	dw lca25,lca68,lca7b,lcaa0
	dw lcab3,lcab8,lcabe,lcac2
	dw lcac6,lcaca,lcad9,lcadd
	dw lcae1,lcc02,lcc0b,lcc14
	dw lcc18,lcc1c,lcc1d,lcc23
	dw lcc29,lcc2a,lcc40,lcc56
	dw lcc5c,lcc60,lcc64
.lca25
	db #fe,#fb,#82,#00,#82,#01,#82,#05
	db #82,#06,#82,#00,#82,#01,#82,#05
	db #82,#06,#82,#05,#82,#06,#82,#0d
	db #82,#00,#82,#05,#82,#06,#82,#0d
	db #82,#00,#82,#00,#82,#01,#82,#05
	db #82,#06,#82,#00,#82,#01,#82,#05
	db #82,#06,#82,#05,#82,#06,#82,#0d
	db #82,#00,#82,#05,#82,#06,#82,#0d
.lca68 equ $ + 3
	db #82,#00,#ff,#fe,#fb,#02,#07,#02
	db #07,#0b,#0e,#0b,#0e,#02,#07,#02
.lca7b equ $ + 6
	db #07,#0b,#0e,#0b,#0e,#ff,#fe,#fb
	db #84,#0a,#84,#03,#84,#04,#84,#08
	db #84,#09,#0c,#0f,#0c,#0f,#84,#03
	db #84,#04,#84,#08,#84,#09,#84,#03
	db #84,#04,#84,#08,#84,#09,#0c,#0f
.lcaa0 equ $ + 3
	db #0c,#0f,#ff,#fe,#fb,#10,#11,#12
	db #13,#10,#11,#12,#13,#10,#11,#12
.lcab3 equ $ + 6
	db #13,#10,#11,#12,#13,#ff,#fe,#fb
.lcab8 equ $ + 3
	db #84,#14,#ff,#fe,#fb,#84,#0a,#15
.lcac2 equ $ + 5
.lcabe equ $ + 1
	db #ff,#fe,#fb,#16,#ff,#fe,#fb,#17
.lcaca equ $ + 5
.lcac6 equ $ + 1
	db #ff,#fe,#fb,#18,#ff,#fe,#fb,#12
	db #06,#10,#01,#12,#06,#10,#01,#12
.lcad9 equ $ + 4
	db #06,#10,#01,#ff,#fe,#fb,#19,#ff
.lcae1 equ $ + 4
.lcadd
	db #fe,#fb,#1a,#ff,#fe,#fb,#84,#00
	db #84,#05,#fe,#fb,#84,#00,#84,#05
	db #fe,#fb,#84,#00,#84,#05,#fe,#fb
	db #84,#00,#84,#05,#fe,#fb,#84,#00
	db #84,#05,#fe,#fb,#84,#00,#84,#05
	db #fe,#fb,#84,#00,#84,#05,#fe,#fb
	db #84,#00,#84,#05,#fe,#fb,#84,#00
	db #84,#05,#fe,#fb,#84,#00,#84,#05
	db #fe,#fb,#84,#00,#84,#05,#fe,#fb
	db #84,#00,#84,#05,#fe,#fb,#84,#00
	db #84,#05,#fe,#fb,#84,#00,#84,#05
	db #fe,#fb,#84,#00,#84,#05,#fe,#fb
	db #84,#00,#84,#05,#fe,#fb,#84,#00
	db #84,#05,#fe,#fb,#84,#00,#84,#05
	db #fe,#fb,#84,#00,#84,#05,#fe,#fb
	db #84,#00,#84,#05,#fe,#fb,#84,#00
	db #84,#05,#fe,#fb,#84,#00,#84,#05
	db #fe,#fb,#84,#00,#84,#05,#fe,#fb
	db #84,#00,#84,#05,#fe,#fb,#84,#00
	db #84,#05,#fe,#fb,#84,#00,#84,#05
	db #fe,#fb,#84,#00,#84,#05,#fe,#fb
	db #84,#00,#84,#05,#fe,#fb,#84,#00
	db #84,#05,#fe,#fb,#84,#00,#84,#05
	db #fe,#fb,#84,#00,#84,#05,#fe,#fb
	db #84,#00,#84,#05,#fe,#fb,#84,#00
	db #84,#05,#fe,#fb,#84,#00,#84,#05
	db #fe,#fb,#84,#00,#84,#05,#fe,#fb
	db #84,#00,#84,#05,#fe,#fb,#84,#00
	db #84,#05,#fe,#fb,#84,#00,#84,#05
	db #fe,#fb,#84,#00,#84,#05,#fe,#fb
	db #84,#00,#84,#05,#fe,#fb,#84,#00
	db #84,#05,#fe,#fb,#84,#00,#84,#05
	db #fe,#fb,#84,#00,#84,#05,#fe,#fb
	db #84,#00,#84,#05,#fe,#fb,#84,#00
	db #84,#05,#fe,#fb,#84,#00,#84,#05
	db #fe,#fb,#84,#00,#84,#05,#fe,#fb
.lcc02 equ $ + 5
	db #84,#00,#84,#05,#ff,#fe,#07,#90
.lcc0b equ $ + 6
	db #1b,#90,#1b,#90,#1b,#ff,#fe,#07
.lcc14 equ $ + 7
	db #90,#1c,#90,#1c,#90,#1c,#ff,#fe
.lcc1c equ $ + 7
.lcc18 equ $ + 3
	db #ff,#1d,#ff,#fe,#ff,#1e,#ff,#ff
.lcc23 equ $ + 6
.lcc1d
	db #fe,#ff,#c0,#50,#1f,#ff,#fe,#03
.lcc2a equ $ + 5
.lcc29 equ $ + 4
	db #c0,#50,#1f,#ff,#ff,#fe,#ff,#20
	db #fe,#fe,#20,#fe,#fd,#20,#fe,#fc
	db #20,#fe,#fb,#20,#fe,#fa,#20,#fe
.lcc40 equ $ + 3
	db #f9,#20,#ff,#fe,#fe,#20,#fe,#fd
	db #20,#fe,#fc,#20,#fe,#fb,#20,#fe
	db #fa,#20,#fe,#f9,#20,#fe,#f8,#20
.lcc5c equ $ + 7
.lcc56 equ $ + 1
	db #ff,#fe,#fd,#c0,#50,#1f,#ff,#fe
.lcc64 equ $ + 7
.lcc60 equ $ + 3
	db #ff,#21,#ff,#fe,#ff,#22,#ff,#ff
.lcc65
	db #7f,#fc,#00,#ff,#7f,#00,#00,#00
	db #00,#01,#7f,#f6,#00,#ff,#7f,#00
	db #00,#00,#02,#03,#7f,#f6,#00,#ff
	db #73,#00,#00,#00,#00,#01,#7f,#f4
	db #00,#ff,#69,#00,#00,#00,#00,#02
	db #7f,#f8,#00,#ff,#7f,#00,#00,#00
	db #01,#01,#7f,#fe,#5f,#ff,#7f,#00
	db #01,#01,#00,#01,#7f,#ff,#5f,#ff
	db #7f,#00,#01,#01,#00,#01,#7f,#fd
	db #00,#ff,#73,#00,#01,#01,#00,#01
	db #7f,#fd,#00,#ff,#7f,#00,#00,#00
	db #03,#02,#7f,#ff,#00,#ff,#7f,#00
	db #00,#00,#00,#03,#89,#29,#00,#00
	db #00,#00,#00,#00,#89,#21,#00,#00
	db #00,#00,#00,#00,#91,#1a,#00,#00
	db #00,#00,#00,#00,#91,#11,#00,#00
	db #00,#00,#00,#00,#89,#19,#00,#00
	db #00,#00,#00,#00,#89,#29,#00,#00
	db #00,#00,#00,#00,#89,#29,#00,#00
	db #00,#00,#00,#00,#89,#49,#00,#00
	db #00,#00,#00,#00
.lcd09
	db #0e,#fe,#01,#ff,#7f,#00,#04,#11
	db #00,#01,#53,#00,#28,#7f,#fc,#01
	db #ff,#7f,#00,#00,#1b,#00,#03,#07
	db #00,#14,#7f,#f5,#01,#ff,#7f,#00
	db #00,#5c,#00,#03,#96,#01,#0a,#7f
	db #fe,#01,#ff,#7f,#05,#04,#02,#00
	db #01,#68,#00,#28
.lcd3d
	dw #09fe,#096e,#08e6,#0866
	dw #07f0,#077d,#070f,#06a9
	dw #064a,#05f2,#059b,#054a
	dw #04ff,#04b7,#0474,#0433
	dw #03f7,#03c0,#0389,#0355
	dw #0325,#02f9,#02ce,#02a6
	dw #0280,#025c,#023b,#021a
	dw #01fc,#01e0,#01c4,#01ab
	dw #0193,#017c,#0167,#0153
	dw #0140,#012e,#011d,#010d
	dw #00fe,#00f0,#00e2,#00d6
	dw #00ca,#00be,#00b3,#00a9
	dw #00a0,#0097,#008e,#0086
	dw #007f,#0078,#0071,#006b
	dw #0065,#005f,#005a,#0055
	dw #0050,#004b,#0047,#0043
	dw #003f,#003c,#0038,#0035
	dw #0032,#002f,#002d,#002a
	dw #0028,#0025,#0023,#0021
	dw #001f,#001e,#001c,#001a
	dw #0019,#0017,#0016,#0015
	dw #0014,#0013,#0012,#0011
	dw #0010
	db #00,#c0,#c0,#00,#00,#00,#00,#00
	db #00,#00
;
.game_name
	db "Space Harrier 2",0
.game_year
	db "1988",0
.game_publisher
	db "Sega",0
.music_author
	db "",0
.music_comment
	db "",0

	read "music_end_v1_0.asm"
